STEP 3: The input variable, question, holds the question that the user asks. This step has tim repeat the question!

  • Change the string in .ask() to "What is your question?"
  • Go to and drag out Say.
  • Replace the name in front of .say() with tim.
  • Replace the string in .say() with the variable question.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)